#ifndef LIB_DEMO_H
#define LIB_DEMO_H

#if defined(_WIN32)
#  if defined(EXPORT_LIBDEMO)
#    define DECLSPEC __declspec(dllexport)
#  else
//#    define DECLSPEC __declspec(dllimport)
#       define DECLSPEC
#  endif
#else // non windows
#  define DECLSPEC
#endif

#include <iostream>

class DECLSPEC A
{
public:
    A();
    ~A();
    void print();

protected:
    int m_i = 0;
};

#endif // LIB_DEMO_H
